@layout("/common/_container.html"){

<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="doorInfoForm">

            <input type="hidden" id="id" value="${item.id}">
<!--            <input type="hidden" id="areaId" name="区域" value="${item.areaId}"  readonly="true"/>-->

            <div class="row">
                <div class="col-sm-4 b-r">
                    <#input id="id" name="编号" value="${item.id}" readonly="true" />
                </div>
                <div class="col-sm-4 b-r">
                    <#input id="doorName" name="门名称" value="${item.doorName}" />
                </div>
                <div class="col-sm-4 b-r">
<!--                    <#input  name="区域" value="${areaName}"  readonly="true"/>-->
<!--                    ${item.areaId}-->
                    <#select id="areaId" name="区域" underline="false">
                        @for(dict in constant.getDicts('区域')){
                        <option value="${dict.value}"
                            @if(dict.value == (item.areaId+"") ){
                            selected
                            @}
                           >${dict.name}</option>
                        @}
                    </#select>

                </div>
                <div class="col-sm-4 b-r">
                    <#input  name="门所属设备" value="${item.equipmentInfo.equipmentName}"  readonly="true"/>
                </div>
                <div class="col-sm-4 b-r">
                    <#input id="doorType" name="门磁类型" value="${item.doorType}" />
                </div>
                <div class="col-sm-4 b-r">
                    <#input id="verificationMode" name="验证方式" value="${item.verificationMode}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="DoorInfoInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="DoorInfoInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/door/DOOR/INFO/doorInfo_info.js"></script>
@}
